package JAVA_LianXi_50;

public class program_19 {
	public static void main(String[] args) {
		print();
	}

	private static void print() {
		for(int i=0;i<7;i++) {
			if(i<4) {
				for(int j=1;j<=7;j++) {
					if(j>=(4-i) && j<=(4+i)) {
						System.out.print("*");
					}else {
						System.out.print(" ");
					}
				}
				System.out.println();
			}else {
				for(int j=1;j<=7;j++) {
					if(j>(i-3) && j<=(10-i)) {
						System.out.print("*");
					}else {
						System.out.print(" ");
					}
				}
				System.out.println();
			}
		}
	}
}
